<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
          <div>
            <form:form method="POST" commandName="CategoryDTO" >
		<table>
			<form:hidden path="id" value="${categoryDTO.id}" />
			<tr>
				<td><form:label path="categoryName">Tên nhóm dược phẩm:</form:label></td>
				<td><form:input id ="categoryName" path="categoryName"value="${categoryDTO.categoryName}"></form:input></td>
				<td><span id="categoryname-error" style="color:red"> </span></td>
			</tr>
			<tr>
				<td><form:label path="numberMedicine">Số lượng dược phẩm:</form:label></td>
				<td><form:input id ="numberMedicine" path="numberMedicine"value="${categoryDTO.numberMedicine}"></form:input></td>
				<td><span id="numbermedicine-error" style="color:red"> </span></td>
			</tr>
			<tr>
				<td ><input id="addcategorysubmit" type="button" value="Cập nhật" /></td>
				<td ><input id="addcategorycancel" type="button" value="Hủy" /></td>
			</tr>
		 </table>
	     </form:form>
	     </div>
</body>
</html>